package com.hliushi.hotel.constants;

/**
 * RabbitMq 常量
 *
 * @author llhuang10
 * @date 2021/9/9 21:09
 */
public class MqConstants {

    /**
     * 交换机
     */
    public static final String HOTEL_EXCHANGE = "hotel.topic";

    /**
     * 监听新增和修改队列
     */
    public static final String HOTEL_INSERT_QUEUE = "hotel.insert.queue";

    /**
     * 监听删除队列
     */
    public static final String HOTEL_DELETE_QUEUE = "hotel.delete.queue";

    /**
     * 监听新增和修改队列的RoutingKey
     */
    public static final String HOTEL_INSERT_KEY = "hotel.insert";

    /**
     * 监听删除队列的RoutingKey
     */
    public static final String HOTEL_DELETE_KEY = "hotel.delete";
}
